﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace UCNKompetenceBors.Model
{
    public class LoginUser
    {
        private Guid _userID;

        private string _userName;

        private string _firstName;

        private string _lastName;

        private string _email;

        private string _phone;

        private string _biography;

        private DateTime _createdDate;

        public Guid UserID
        {
            get { return _userID; }
        }

        public string UserName
        {
            get { return _userName; }
        }

        public string FirstName
        {
            get { return _firstName; }
            set { _firstName = value; }
        }

        public string LastName
        {
            get { return _lastName; }
            set { _lastName = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        public string Biography
        {
            get { return _biography; }
            set { _biography = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createdDate; }
            set { _createdDate = value; }
        }

        public LoginUser(Guid userID, string userName)
        {
            _userID = userID;
            _userName = userName;
            _firstName = "";
            _lastName = "";
            _email = "";
            _phone = "";
            _biography = "";
            _createdDate = DateTime.Now;

        }

        public LoginUser(Guid userID, string userName, string firstName, string lastName, string email, string phone, string biography, DateTime createdDate)
        {
            _userID = userID;
            _userName = userName;
            _firstName = firstName;
            _lastName = lastName;
            _email = email;
            _phone = phone;
            _biography = biography;
            _createdDate = createdDate;
        }
    }
}